﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class HouseKeep_Analysis : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["UserStreet"] != null)
        {
            ContentPlaceHolder cpl = (ContentPlaceHolder)Master.FindControl("ContentPlaceHolder1");
            for (int i = 0; i < 5; i++)
            {
                Label lbl = (Label)cpl.FindControl("lblstreet" + i);
                if (lbl != null)
                {
                    lbl.Text = Session["UserStreet"].ToString();
                }
            }
        }
        else
            WebHelper.AlertAndRedirect("登陆超时，请重新登陆", "../Login.aspx");
    }
}
